
import React, { useEffect, useState } from "react"
import { ParkCarApi } from '../api/api'

export default function ParkCar() {

  const [list, setlist] = useState()

  const carApi = async () => {
    const res = await ParkCarApi()
    console.log(res.data.data);
    setlist(res.data.data)

  }

  useEffect(() => {
    carApi()
  }, [])


  return (
    <div>
      <div>
        做不了，用户没有权限，请联系管理员授权
      </div>
    </div>
  )
}